package com.lottery.common.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lottery.common.entity.MemberInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lottery.common.model.QueryModel;
import org.nutz.lang.util.NutMap;
import org.nutz.mvc.annotation.Param;

import java.util.List;

/**
 * <p>
 * 会员信息表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-09-23
 */
public interface MemberInfoMapper extends BaseMapper<MemberInfo> {

    public Integer saveAndCheck(MemberInfo memberInfo);

    public Integer saveIosNumAndCheck(MemberInfo memberInfo);

    IPage<MemberInfo> getMemberList(Page page,@Param("nutMap") NutMap nutMap);

}
